package com.wnxy.sddfp.trade.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.sddfp.trade.entity.BorrowRecord;
import com.woniuxy.sddfp.common.model.dto.trade.BorrowRecordDTO;

/**
 * @author yellow Docter
 * @date 2023 -07-31
 * @desc
 */
public interface IBorrowRecordService extends IService<BorrowRecord> {

    /**
     * 借款申请
     * @param borrowRecordDTO
     */
    void addBorrowRecord(BorrowRecordDTO borrowRecordDTO);

    /**
     * 借款审核接口,同步借款数据
     * @param approveStatus
     * @param borrowRecordId
     * @return
     */
    String verifyStatus(Integer approveStatus, Long borrowRecordId);
}
